package cn.com.greatwall.oauth2.common.constants;
/**
 * @Author herw
 * @Time 2022-01-06 11:15:27
 * @Version 1.0
 * @Description: id_token属性名常量
 */
public class IdTokenClaimNames {
    /**
     * {@code iss} - the Issuer identifier
     */
    public final static String ISS = "iss";
    
    /**
     * {@code sub} - the Subject identifier
     */
    public final static String SUB = "sub";
    
    /**
     * {@code aud} - the Audience(s) that the ID Token is intended for
     */
    public final static String AUD = "aud";
    
    /**
     * {@code exp} - the Expiration time on or after which the ID Token MUST NOT be accepted
     */
    public final static String EXP = "exp";
    
    /**
     * {@code iat} - the time at which the ID Token was issued
     */
    public final static String IAT = "iat";
    
    /**
     * {@code nonce} - a {@code String} value used to associate a Client session with an ID Token,
     * and to mitigate replay attacks.
     */
    public final static String NONCE = "nonce";
    
    /**
     * {@code name} - 用户姓名
     */
    public final static String NAME = "name";
    
    /**
     * {@code login_name} - 登录名
     */
    public final static String L_NAME = "login_name";

    /**
     * {@code picture} - 头像照片
     */
    public final static String PIC = "picture";
}
